package com.git.service.impl;

import com.git.bean.Htype;
import com.git.mapper.HtypeMapper;
import com.git.service.HtypeService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 金振宇
 * @describe
 */
@Service
@Component
public class HtypeServiceImpl implements HtypeService {

    @Autowired
    private HtypeMapper htypeMapper;

    @Override
    public List<Htype> findAllHtype() {
        return htypeMapper.selectAllHtype();
    }
}
